AUTOMAKE_OPTIONS = foreign

bin_PROGRAMS = rpc_client 
COMMON_CLIENT_SOURCES = saladtest_main.cpp \
						saladrpc.pb.cc \
						saladtest_client.cpp \
						phxrpc_saladtest_stub.cpp

rpc_client_SOURCES = $(COMMON_CLIENT_SOURCES)
rpc_client_LDFLAGS = -std=c++11 -Wall -D_REENTRANT -D_GNU_SOURCE -D_XOPEN_SOURCE -fPIC -m64 $(INTLLIBS) 
rpc_client_CPPFLAGS = -I../include

INTLLIBS = -L -lpthread -lstdc++ -lm

rpc_client_LDADD = ../lib/libphxrpc.a	\
				   ../lib/libprotobuf.a	\
				   ../lib/libprotobuf-lite.a	\
				   ../lib/libprotoc.a	\
				   ../lib/liblpsys.so




